﻿#ifndef CMDLINECHARTCENTERWIDGETINFOLISTPASTE_H
#define CMDLINECHARTCENTERWIDGETINFOLISTPASTE_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdLineChartCenterWidgetInfoListPaste : public CommandManager::CommandBase
    {
        Q_OBJECT

        public:
            CmdLineChartCenterWidgetInfoListPaste();
            ~CmdLineChartCenterWidgetInfoListPaste();

            bool execute() override;
            void undo() override;
            void redo() override;
            void setData(const QString& data) { m_data = data; }

        private:
            QString m_data{};
    };

} // namespace PostCommand

#endif
